package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.DsstoreBillDeliveryAudit;
import cn.stylefeng.guns.sys.modular.system.model.params.DsstoreBillDeliveryAuditParam;
import cn.stylefeng.guns.sys.modular.system.model.result.DsstoreBillDeliveryAuditResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiangge
 * @since 2021-07-14
 */
public interface DsstoreBillDeliveryAuditService extends IService<DsstoreBillDeliveryAudit> {

    /**
     * 新增
     *
     * @author jiangge
     * @Date 2021-07-14
     */
    void add(DsstoreBillDeliveryAuditParam param);

    /**
     * 删除
     *
     * @author jiangge
     * @Date 2021-07-14
     */
    void delete(DsstoreBillDeliveryAuditParam param);

    /**
     * 更新
     *
     * @author jiangge
     * @Date 2021-07-14
     */
    void update(DsstoreBillDeliveryAuditParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author jiangge
     * @Date 2021-07-14
     */
    DsstoreBillDeliveryAuditResult findBySpec(DsstoreBillDeliveryAuditParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author jiangge
     * @Date 2021-07-14
     */
    List<DsstoreBillDeliveryAuditResult> findListBySpec(DsstoreBillDeliveryAuditParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author jiangge
     * @Date 2021-07-14
     */
     LayuiPageInfo findPageBySpec(DsstoreBillDeliveryAuditParam param);

    ResponseData audit(DsstoreBillDeliveryAuditParam param);

    ResponseData batchAudit(DsstoreBillDeliveryAuditParam param);
}
